home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
educate
/
testsh.zip
/
PRESERVE.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-10-13
|
2KB
|
48 lines
ECHO OFF
CLS
echo.
echo.
echo.
echo You are about to create a NEW DIRECTORY, on the C:DRIVE, called
echo CREATE2. Following its creation, the entire CRE-A-TEST program
echo will be copied into that directory, as well as all of the records
echo that you have created. Basically, this means that TOTALLY EVERYTHING
echo that presently exists, in your CREATE1 directory, will be duplicated,
echo on the hard drive, and you can go to the CREATE2 directory, anytime,
echo and access all records that you have PRESERVED there,in exactly the
echo same manner that you have been doing. This is nice for reference.
echo.
echo THEN - All of the RECORDS, (not the CRE-A-TEST program), will be
echo erased from this presently active directory, and you will have a
echo clean start, with a BARE BONES program, to start your next period,
echo year, etc. In this respect, the same thing happens as if you had
echo used the CLEAR option, except that the CLEAR option would not have
echo preserved your created records, in a NEW directory by the name of
echo CREATE2.
echo.
echo If you wish to ABORT this screen, without any action taking place,
echo press CTRL & C, together, answer Y to the `TERMINATE BATCH JOB?'
echo prompt, and you'll return to DOS. If ready to continue with the action
echo indicated, just press the ENTER key. You must be certain that you have
echo enough space on your C:DRIVE, to accomodate the total contents of your
echo present directory.
pause
MD C:\CREATE2
COPY *.* C:\CREATE2
DEL *.REC
CLS
echo.
echo.
echo.
echo.
echo The CREATE2 directory has been created, and now contains the entirety
echo of your original directory CREATE1, for your future reference.
echo The CREATE1 directory now contains ONLY the CRE-A-TEST program, with
echo all previous records having been erased. Press ENTER to return to the
echo DOS prompt. To resume the CRE-A-TEST program, simply type GO and
echo press the ENTER key, or you may terminate your session.
echo.
echo.
echo.
pause